package com.leaf.u_spring.chapter07;

import javax.servlet.Filter;

import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer;

public class FiterInit extends AbstractAnnotationConfigDispatcherServletInitializer {
	
	
	
	/**
	 * 注册Filter 可以注册多个
	 */
	@Override
	protected Filter[] getServletFilters() {
		return new Filter[]{ new AppFilter() };
	}

	@Override
	protected Class<?>[] getRootConfigClasses() {
		return null;
	}

	@Override
	protected Class<?>[] getServletConfigClasses() {
		return null;
	}

	@Override
	protected String[] getServletMappings() {
		return null;
	}

}
